import Vue from 'vue'
import App from './App'

// 手动开启 router 或 vuex
// import router from './router'
// import store from './store'

Vue.config.productionTip = false
import WSLOAN from '@wsloan/wsloan/src/entries/app.js'

import {AlertPlugin, ConfirmPlugin, ToastPlugin} from 'vux'

Vue.use(WSLOAN, {
  AlertPlugin, ConfirmPlugin, ToastPlugin
})

/* eslint-disable no-new */
wsloan.business.user.update().then(() => {
  new Vue({
    el: '#app',
    // 手动开启 router 或 vuex
    // router,
    // store,
    template: '<App/>',
    components: {App}
  })
})
